$(function() {
	$("#left").load("../common/gover-left.html");
	$(".ystep1").loadStep({
		size: "small",
		color: "green",
		steps: [{
				title: "事项选择"
			},
			{
				title: "服务选择"
			},
			{
				title: "信息录入"
			},
			{
				title: "寄件选择"
			},
			{
				title: "取件选择"
			},
			{
				title: "提交成功"
			}
		]
	});
	$(".ystep1").setStep(4);
	my_vue = new Vue({
		el: '#vue_info',
		data: {
				
		},
		methods: {
			exitProcess: function(op) {
				if(op == 'index') {
					$.showConfirm({
						'title': '',
						'content': '是否退出办理？',
						"showClose": false,
						"sureLabel": "取消",
						"cancelLabel": "退出办理",
						'cancel': this.toIndex
					});
				} else if(op == 'scanner') {
					$.showConfirm({
						'title': '',
						'content': '是否退出办理？',
						"showClose": false,
						"sureLabel": "取消",
						"cancelLabel": "退出办理",
						'cancel': this.toScanner
					});
				}
			},
			chooseReceiveType: function(type) {
				window.location = "sendOriginal.html?type=" + type;

			}
		},
		ready: function() {
			//初始化获得总页面数和列表数据
			var url="../up/selfHelpChooseCommitType.html";
			if(sessionStorage.getItem('isFace')!=1){
				windowOpen(url);
			}	
		}
	});
});